package com.site.wisdom_construction.entity.iotModule;

import io.swagger.annotations.ApiModel;

/**
 * @Author daiyifei
 * @Date 2021/12/17
 * @Description
 */
@ApiModel(value = "WisdomElectricity", description = "智慧用电数据对象表")
public class WisdomElectricity {
    private Integer id;
    private Integer projectId;
    //设备类型标识
    private String deviceType;
    //设备IMEI
    private String deviceNumber;
    //数据转发时间
    private String sendTime;
    //数据类型
    private String dataType;
    //A相电压
    private Double aVol;
    //B相电压
    private Double bVol;
    //C相电压
    private Double cVol;
    //A相电流
    private Integer aEle;
    //B相电流
    private Integer bEle;
    //C相电流
    private Integer cEle;
    //剩余电流
    private Integer surplusEle;
    //A相温度
    private Integer aTemp;
    //B相温度
    private Integer bTemp;
    //C相温度
    private Integer cTemp;
    //N相温度
    private Integer nTemp;
    //功率因素
    private String powerFactor;
    //电网频率
    private Double gridFrequency;
    //正向有功电能
    private String positiveActiveEnergy;
    //正向无功电能
    private String positiveReactiveEnergy;
    //设备报警状态
    private String alarmStatus;
    //闸位状态
    private String gateStatus;
    private Integer environmentTemp;//

    public WisdomElectricity() {
        super();
    }

    public WisdomElectricity(Integer id, Integer projectId, String deviceType, String deviceNumber, String sendTime, String dataType, Double aVol, Double bVol, Double cVol, Integer aEle, Integer bEle, Integer cEle, Integer surplusEle, Integer aTemp, Integer bTemp, Integer cTemp, Integer nTemp, String powerFactor, Double gridFrequency, String positiveActiveEnergy, String positiveReactiveEnergy, String alarmStatus, String gateStatus, Integer environmentTemp) {
        this.id = id;
        this.projectId = projectId;
        this.deviceType = deviceType;
        this.deviceNumber = deviceNumber;
        this.sendTime = sendTime;
        this.dataType = dataType;
        this.aVol = aVol;
        this.bVol = bVol;
        this.cVol = cVol;
        this.aEle = aEle;
        this.bEle = bEle;
        this.cEle = cEle;
        this.surplusEle = surplusEle;
        this.aTemp = aTemp;
        this.bTemp = bTemp;
        this.cTemp = cTemp;
        this.nTemp = nTemp;
        this.powerFactor = powerFactor;
        this.gridFrequency = gridFrequency;
        this.positiveActiveEnergy = positiveActiveEnergy;
        this.positiveReactiveEnergy = positiveReactiveEnergy;
        this.alarmStatus = alarmStatus;
        this.gateStatus = gateStatus;
        this.environmentTemp = environmentTemp;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceNumber() {
        return deviceNumber;
    }

    public void setDeviceNumber(String deviceNumber) {
        this.deviceNumber = deviceNumber;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public Double getaVol() {
        return aVol;
    }

    public void setaVol(Double aVol) {
        this.aVol = aVol;
    }

    public Double getbVol() {
        return bVol;
    }

    public void setbVol(Double bVol) {
        this.bVol = bVol;
    }

    public Double getcVol() {
        return cVol;
    }

    public void setcVol(Double cVol) {
        this.cVol = cVol;
    }

    public Integer getaEle() {
        return aEle;
    }

    public void setaEle(Integer aEle) {
        this.aEle = aEle;
    }

    public Integer getbEle() {
        return bEle;
    }

    public void setbEle(Integer bEle) {
        this.bEle = bEle;
    }

    public Integer getcEle() {
        return cEle;
    }

    public void setcEle(Integer cEle) {
        this.cEle = cEle;
    }

    public Integer getSurplusEle() {
        return surplusEle;
    }

    public void setSurplusEle(Integer surplusEle) {
        this.surplusEle = surplusEle;
    }

    public Integer getaTemp() {
        return aTemp;
    }

    public void setaTemp(Integer aTemp) {
        this.aTemp = aTemp;
    }

    public Integer getbTemp() {
        return bTemp;
    }

    public void setbTemp(Integer bTemp) {
        this.bTemp = bTemp;
    }

    public Integer getcTemp() {
        return cTemp;
    }

    public void setcTemp(Integer cTemp) {
        this.cTemp = cTemp;
    }

    public Integer getnTemp() {
        return nTemp;
    }

    public void setnTemp(Integer nTemp) {
        this.nTemp = nTemp;
    }

    public String getPowerFactor() {
        return powerFactor;
    }

    public void setPowerFactor(String powerFactor) {
        this.powerFactor = powerFactor;
    }

    public Double getGridFrequency() {
        return gridFrequency;
    }

    public void setGridFrequency(Double gridFrequency) {
        this.gridFrequency = gridFrequency;
    }

    public String getPositiveActiveEnergy() {
        return positiveActiveEnergy;
    }

    public void setPositiveActiveEnergy(String positiveActiveEnergy) {
        this.positiveActiveEnergy = positiveActiveEnergy;
    }

    public String getPositiveReactiveEnergy() {
        return positiveReactiveEnergy;
    }

    public void setPositiveReactiveEnergy(String positiveReactiveEnergy) {
        this.positiveReactiveEnergy = positiveReactiveEnergy;
    }

    public String getAlarmStatus() {
        return alarmStatus;
    }

    public void setAlarmStatus(String alarmStatus) {
        this.alarmStatus = alarmStatus;
    }

    public String getGateStatus() {
        return gateStatus;
    }

    public void setGateStatus(String gateStatus) {
        this.gateStatus = gateStatus;
    }

    public Integer getEnvironmentTemp() {
        return environmentTemp;
    }

    public void setEnvironmentTemp(Integer environmentTemp) {
        this.environmentTemp = environmentTemp;
    }

    @Override
    public String toString() {
        return "{" +
                "id=" + id +
                ", projectId=" + projectId +
                ", deviceType='" + deviceType + '\'' +
                ", deviceNumber='" + deviceNumber + '\'' +
                ", sendTime='" + sendTime + '\'' +
                ", dataType='" + dataType + '\'' +
                ", aVol=" + aVol +
                ", bVol=" + bVol +
                ", cVol=" + cVol +
                ", aEle=" + aEle +
                ", bEle=" + bEle +
                ", cEle=" + cEle +
                ", surplusEle=" + surplusEle +
                ", aTemp=" + aTemp +
                ", bTemp=" + bTemp +
                ", cTemp=" + cTemp +
                ", nTemp=" + nTemp +
                ", powerFactor='" + powerFactor + '\'' +
                ", gridFrequency=" + gridFrequency +
                ", positiveActiveEnergy='" + positiveActiveEnergy + '\'' +
                ", positiveReactiveEnergy='" + positiveReactiveEnergy + '\'' +
                ", alarmStatus='" + alarmStatus + '\'' +
                ", gateStatus='" + gateStatus + '\'' +
                ", environmentTemp=" + environmentTemp +
                '}';
    }
}
